package com.melodyframe.stage.core.renderer;

import com.melodyframe.common.context.Context;

public class CommonViewRenderer implements ViewRenderer {
	@Override
	public View render(String name, Context context) {
		View view = new View();
		if (context.containsKey("response")) {
			view.setResponseText(context.get("response").toString());
		}
		return view;
	}
}
